package com.hnx.admin.api.captcha;

public interface CaptchaAPI {
    public final static Integer DEFAULT_WIDTH = 150;
    public final static Integer DEFAULT_HEIGHT = 50;
    public final static Integer DEFAULT_LEN = 4;
    public final static String DEFAULT_SESSION = "captcha";
    public final static String CAPTCHA_PREFIX = "admin.captcha";
    public final static String UUID = "uuid";
    public final static String IMG = "img";
    public final static String EMPTY_STR = "";
    /**
     * 验证码 redis key
     */
    public static final String CAPTCHA_CODE_KEY = "captcha_codes:";
    public static final Integer CAPTCHA_EXPIRATION = 2;
}
